<template>
	<uni-popup ref="popupComfrim" type="center">
		<view class="popup-content-box">
			<view class="popup-title">
				{{ msg }}
			</view>
			<view class="btn-cancel-confirm">
				<view class="cancel btn-item" @click="closeBtn">
					取消
				</view>
				<view class="line"></view>
				<view class="confirm btn-item" @click="closeBtn">
					确认
				</view>
			</view>
		</view>
	</uni-popup>
</template>

<script>
	export default {
		data(){
			return {
			}
		},
		props: {
			msg: {
				type: String,
				default: '选中该赏数量'
			}
		},
		methods: {
			//开启数量选择
			openBtn() {
				this.$refs.popupComfrim.open()
			},
			// 关闭数量选择
			closeBtn() {
				this.$refs.popupComfrim.close()
			},
		}
	}
</script>

<style scoped lang="scss">
	@import "./index.scss";
</style>